-- GENERATED SPELL FOR [Sand Skitterer] --


function spell0_11738(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11738', 30000, 1)
end

function Sorts_11738(pUnit, Event)
local choix_sorts_11738 = math.random(0, 0)
if choix_sorts_11738 == 0 then
pUnit:RegisterEvent('spell0_11738', 1, 1)
end
end

function mob11738_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11738', math.random(1500, 3000), 1)
end

function mob11738_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11738_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11738_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11738, 1, 'mob11738_Action')
RegisterUnitEvent(11738, 2, 'mob11738_Leave')
RegisterUnitEvent(11738, 3, 'mob11738_Kill')
RegisterUnitEvent(11738, 4, 'mob11738_Die')
